<tr class="items" style="">
	<?php 
	/*
	echo '<td class="first left" style="overflow:hidden;">';
		if($item->getAdTypeTitle() != '')
		{ echo $item->getAdTypeTitle(); }
		if($item->getAdCatTitle() != '')
		{ echo '&nbsp;/&nbsp;'.$item->getAdCatTitle(); }
		if($item->getAdBrandTitle() != '')
		{ echo '&nbsp;/&nbsp;'.$item->getAdBrandTitle().'&nbsp;/&nbsp;'; }
	echo '</td>';
	*/
	?>
	<td class="first left"><a target="_blank" href="<?php echo $item->getLink(); ?>"><?php echo $item->getTitle(); ?></a></td>
	<td class="left nowrap"><?php echo $item->formatDateTime($item->getDateCreated(), 'd.m.Y'); ?>&nbsp;&nbsp;</td>
	<td class="left nowrap">
		<?php
		if($item->getActive() > 0)
		{ 
			if($item->formatDateTime($item->getDateCreated(), 'd.m.Y') != $item->formatDateTime($item->getDateLastSent(), 'd.m.Y'))
			{ echo $item->formatDateTime($item->getDateLastSent(), 'd.m.Y'); }
			else
			{ echo ucfirst($txt->getWord('never')); }
		} 
		?>&nbsp;&nbsp;
	</td>
	<td class="left">
	<?php 
	if($item->getActive() > 0)
	{ 
		echo '<a href="/c/'.$com->getComId().'?list=search&deactivate='.$item->getId().'">';
		echo ucfirst($txt->getWord('deactivate').' '.$txt->getWord('sending'));
		//echo '<img title="'.ucfirst($txt->getWord('deactivate').' '.$txt->getWord('sending')).'" class="icon command" src="'.SYSICONS_URL.'pause_16.png" />';
		echo '</a>'; 
	}
	else
	{
		echo '<a href="/c/'.$com->getComId().'?list=search&activate='.$item->getId().'">';
		echo ucfirst($txt->getWord('activate').' '.$txt->getWord('sending'));
		//echo '<img title="'.ucfirst($txt->getWord('deactivate').' '.$txt->getWord('sending')).'" class="icon command" src="'.SYSICONS_URL.'pause_16.png" />';
		echo '</a>';
	}	
	?>
	</td>
	<td class="left last">&nbsp;&nbsp;
	<?php 
	echo '<a href="/c/'.$com->getComId().'?list=search&delete='.$item->getId().'">';
	echo ucfirst($txt->getWord('delete'));
	echo '</a>'; 
	?>
	</td>
</tr>